<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>
<html>
	<head>
		<title>收信</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="${path}/css/backsys/ctx.css">
		<link rel="stylesheet" type="text/css" href="${path}/js/util/confirmer/confir.css"/>
		<script type="text/javascript" src="${path}/js/jquery.js"></script>
		<script language="javascript" type="text/javascript" src="${path}/webutil/DateUtil/WdatePicker.js"></script>
		<script type="text/javascript" src="${path}/js/util/confirmer/jquery-impromptu.3.1.min.js"></script>
		<script type="text/javascript" src="${path}/js/backsys/sysutil.js"></script>
		<script type="text/javascript" src="${path}/js/backsys/mail.js"></script>
		<style type="text/css">
			.unreaderfont{color:#000;height:25px;}
		</style>
		<script type="text/javascript">
			$(function() {
				readMailList() ;
			});
		</script>
	</head>
	<body>
		<div class="ctx">
			
			<table width="100%">
				<tr>
					<td style="height:30px;font-size:14px;">
						<span style="font-weight:bold;">收件箱</span>
						<span style="font-size:12px;">
						(
						共&nbsp;<span id="count" style="color:red;"></span>&nbsp;封，
						其中未读邮件&nbsp;<span id="unreadcount" style="color:red;"></span>&nbsp;封，
						&nbsp;<span id="readcount" style="color:red;"></span>&nbsp;设为已读
						)
						</span>
						
					</td>
				</tr>
				<tr>
					<td class="tdhbg">
						<a href="javascript:delMail('${path}/mailJson!deleteMailListJSON.action?baseform.param=')" class="button"><b>&nbsp;删除&nbsp;</b></a>
						<a href="javascript:void(0);" onclick="readMailList();" class="button"><b>&nbsp;刷新&nbsp;</b></a>
					</td>
				</tr>
				<tr>
					<td>
						<table class="dataTable" width="100%">
							<thead>
								<tr class="dataTableHead">
									<td width="4%"><input type="checkbox" onclick="selectAll()"/></td>
									<td width="20%">收件人</td>		 					
									<td width="50%">主题</td>			 				
									<td width="15%">时间</td>							
								</tr>
							</thead>
							<tbody id="mailList">
							
							</tbody>
						</table>	
					</td>
				</tr>
				<tr>
					<td class="tdhbg">
						<a href="javascript:void(0);" class="button"><b>&nbsp;删除&nbsp;</b></a>
						<a href="javascript:void(0);" onclick="readMailList();" class="button"><b>&nbsp;刷新&nbsp;</b></a>
					</td>
				</tr>
			</table>
		</div>
	</body>
</html>
